home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / cool / cool.lha / ice / pisces / config / os2.cf < prev    next >
Encoding:
Text File  |  1991-09-04  |  5.4 KB  |  188 lines

  1. /*****************************************************************************
  2. //
  3. // Copyright (C) 1991 Texas Instruments Incorporated.
  4. //
  5. // Permission is granted to any individual or institution to use, copy, modify,
  6. // and distribute this software, provided that this complete copyright and
  7. // permission notice is maintained, intact, in all copies and supporting
  8. // documentation.
  9. //
  10. // Texas Instruments Incorporated provides this software "as is" without
  11. // express or implied warranty.
  12. //
  13.  *****************************************************************************
  14.  *
  15.  *    Author: Martin Neath
  16.  *    Filename: os2.cf
  17.  *    $Revision: $ $Date: $
  18.  *    Module: build/config
  19.  *    Purpose: PISCES project OS/2 configuration file
  20.  *      Abstract:
  21.  *        - The "project.imk" file contains default values for project
  22.  *          commands, variables, and pathnames. 
  23.  *
  24.  *        - This file contains OS/2-specific values different from the
  25.  *          project defaults for UNIX platforms
  26.  *
  27.  *      Related Files: site.def, project.imk, imake.imk, imake.rul
  28.  *
  29.  *    Creation Date: 06/27/90    
  30.  *    Changed by\Date\Reason:
  31.  *
  32.  *****************************************************************************/
  33. #define OSName            IBM OS/2 Extended Edition
  34. #define OS2Platform       YES
  35. #define OSMajorVersion    1
  36. #define OSMinorVersion    2
  37. #define SystemV           NO
  38.  
  39. #define HasVoidSignalReturn YES
  40.  
  41. /*###########################################################################*/
  42. /*# PISCES System make variables for OS/2 different from defaults are below #*/
  43. /*###########################################################################*/
  44.  
  45. #define ProjectLibraryName ICE
  46. #define FastLibraryName fast##ProjectLibraryName
  47. #define TestLibraryName test##ProjectLibraryName
  48. #define FilesToClean *.bak *.out *.i 
  49. #define Shell
  50. #define SeparatorChar @/  
  51. #define ArCmd par
  52. #define CplusCmd ccxx
  53. #define CcCmd cl
  54. #define LnCmd copy
  55. #define MvCmd copy
  56. #define CpCmd copy
  57. #define ConCatCmd type
  58. #define RmCmd del
  59. #define MakeCmd nmake 
  60. #define SystemSpecificProgram exehdr /NEWFILES
  61. #define RanlibCmd @# No TOC update necessary in OS/2 library 
  62. #define ArchiveAddFlag -+
  63. #define ArchiveDeleteFlag -+
  64. #define ArchiveReplaceFlag -+
  65. #define ArchivePrefix lib
  66. #define ArchiveSuffix .lib
  67. #define CPlusSuffix cxx
  68. #define ObjectSuffix obj
  69. #define ExecutableSuffix .exe
  70. #define LibraryDirFlag -L
  71. #define LibraryFlag -l
  72. #define RCSDependFlag
  73. #define HeaderLinkFlag
  74. #define ImakeCmd pimake
  75. #define LoopCmd loop
  76. #define SearchCmd grep
  77. #define CaseInsensitive -u
  78. #define StopLabel STOP
  79. #define InstallCmd copy
  80. #define InstPgmFlags
  81. #define InstBinFlags
  82. #define InstLibFlags
  83. #define InstIncFlags
  84.  
  85. #define SmallMemoryModel -AS
  86. #define MediumMemoryModel -AM
  87. #define LargeMemoryModel -AL
  88. #define CompactMemoryModel -AC
  89. #define HugeMemoryModel -AH
  90. #define MiscCFlags -AC
  91.  
  92. #define COptimizeFlag 
  93. #define CPlusOptimizeFlag 
  94. #define DefaultCFlags -G2s -nologo 
  95. #define DefaultCPlusFlags  -G2s -Dvolatile= 
  96. #define CFlagsDebug DefaultCFlags -Zi -Zd -Or
  97. #define CLinkerOptions -G2s -nologo -F 8000
  98. #define CPlusLinkerOptions -G2s -nologo -F 8000
  99. #define StandardCPDefines -DDOS
  100. #define CPlusSysIncDir $(PATHSEP)cxx20$(PATHSEP)include
  101. #define SysIncDir $(PATHSEP)c600$(PATHSEP)include
  102.  
  103. #define SystemSpecificFinalize(program)                    @@\
  104. sys_spec :: program##$(EXE)                        @@\
  105.     $(SYS_SPEC) $(PROGRAM)
  106.  
  107. #define DependCommand()                            @@\
  108.     $(DEPEND) $(PFLAG)$(PATHSEP) $(ALLCPLUSDEFS) $(ALLCDEFS)    \
  109. $(YACCPRG2) $(LEXPRG2) @<<DPNDFILS                     @@\
  110. $(HDRS) $(SRCS) $(YACCSRC) $(LEXSRC)                    @@\
  111. <<NOKEEP
  112.  
  113. #define MakefileSubdirs()                        @@\
  114. makefiles ::                                @@\
  115.      $(LOOP) $(MAKE) mk_only $(SUBDIRS) $(STOP)            @@\
  116.      $(LOOP) $(MAKE) checkout $(SUBDIRS) $(STOP)            @@\
  117.      $(LOOP) $(MAKE) depends $(SUBDIRS) $(STOP)
  118.  
  119. #define AllSubdirs()                            @@\
  120. all ::                                    @@\
  121.      $(LOOP) $(MAKE) all $(SUBDIRS) $(STOP)
  122.  
  123. #define BootstrapSubdirs()                        @@\
  124. bootstrap ::                                @@\
  125.     $(LOOP) $(PIMAKE) $(MACHINE) DirName($(TOP)) $(CURVER) DirName($(CONFIG)) $(SUBDIRS) $(STOP)                            @@\
  126.      $(LOOP) $(MAKE) bootstrap $(SUBDIRS) $(STOP)            @@\
  127.      $(LOOP) $(MAKE) mk_only $(SUBDIRS) $(STOP)
  128.  
  129. #define IncludeSubdirs()                        @@\
  130. includes ::                                @@\
  131.      $(LOOP) $(MAKE) includes $(SUBDIRS) $(STOP)
  132.  
  133. #define CheckoutSubdirs()                        @@\
  134. checkout ::                                @@\
  135.      $(LOOP) $(MAKE) checkout $(SUBDIRS) $(STOP)
  136.  
  137. #define ForceCheckoutSubdirs()                        @@\
  138. forcecheckout ::                            @@\
  139.      $(LOOP) $(MAKE) forcecheckout $(SUBDIRS) $(STOP)
  140.  
  141. #define InstallSubdirs()                        @@\
  142. install ::                                @@\
  143.      $(LOOP) $(MAKE) install $(SUBDIRS) $(STOP)
  144.  
  145. #define RevupSubdirs()                            @@\
  146. revup ::                                @@\
  147.      $(LOOP) $(MAKE) revup $(SUBDIRS) $(STOP)
  148.  
  149. #define CleanSubdirs()                            @@\
  150. clean ::                                @@\
  151.      $(LOOP) $(MAKE) clean $(SUBDIRS) $(STOP)
  152.  
  153. #define FastSubdirs()                            @@\
  154. fast ::                                    @@\
  155.      $(LOOP) $(MAKE) fast $(SUBDIRS) $(STOP)
  156.  
  157. #define ClobberSubdirs()                        @@\
  158. clobber ::                                @@\
  159.      $(LOOP) $(MAKE) clobber $(SUBDIRS) $(STOP)
  160.  
  161. #define TestSubdirs()                            @@\
  162. test ::                                    @@\
  163.      $(LOOP) $(MAKE) unittest $(SUBDIRS) $(STOP)
  164.  
  165. #define RunTestSubdirs()                        @@\
  166. runtest ::                                @@\
  167.      $(LOOP) $(MAKE) runtest $(SUBDIRS) $(STOP)
  168.  
  169. #define LibSubdirs()                            @@\
  170. makelib ::                                @@\
  171.      $(LOOP) $(MAKE) makelib $(SUBDIRS) $(STOP)
  172.  
  173. #define DependSubdirs()                            @@\
  174. depends :: depend                            @@\
  175.      $(LOOP) $(MAKE) depends $(SUBDIRS) $(STOP)
  176.  
  177. #define ImakeOnlySubdirs()                        @@\
  178. mk_only ::                                @@\
  179.      $(LOOP) $(MAKE) mk_only $(SUBDIRS) $(STOP)
  180.  
  181. #define ResultsSubdirs()                        @@\
  182. results ::                                @@\
  183.      $(LOOP) $(MAKE) results $(SUBDIRS) $(STOP)
  184.  
  185. #define SubdirsRule()
  186.  
  187. #define ShellProgram(program)
  188.